package com.hsqn.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 老人定位信息表
 * </p>
 *
 * @author lingwenjie
 * @since 2025-11-05
 */
@Getter
@Setter
@TableName("location_info")
public class LocationInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 老人ID
     */
    private Long elderlyId;

    /**
     * 纬度
     */
    private BigDecimal latitude;

    /**
     * 经度
     */
    private BigDecimal longitude;

    /**
     * 位置地址
     */
    private String locationAddress;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;

    /**
     * 设备ID
     */
    private String deviceId;
}
